Resource allocation in wireless communication network

ABSTRACT

Embodiment of the disclosure set forth resource allocation in a wireless network. Some example methods include selecting a node based on probability of having available data at the node, sending an inquiry to the node, deriving a first set of average cost estimates based on a first step-size function, network information measured at the node, and a predetermined value, calculating a second set of threshold values based on a second step-size function and the first set of average cost estimates, updating the second set of values to generate a third set of threshold values based on the predetermined value, and allocating resources for the node based on the third set of threshold values.

BACKGROUND

In a wireless communication network, data can be exchanged amongmultiple nodes. Resources are allocated among these multiple nodes tofacilitate the data exchanges. For example, a number of time slots areallocated to a node configured to receive or transmit information basedon the network traffic at the node. There are existing approaches thatattempt to advance the resource allocation in a wireless communicationnetwork to reduce transmission delay of the wireless communicationnetwork. However, many of these approaches are limited to certainnetwork environments.

BRIEF DESCRIPTION OF THE DRAWINGS

The foregoing and other features of the present disclosure will becomemore fully apparent from the following description and appended claims,taken in conjunction with the accompanying drawings. Understanding thatthese drawings depict only several embodiments in accordance with thedisclosure and are, therefore, not to be considered limiting of itsscope, the disclosure will be described with additional specificity anddetail through use of the accompanying drawings.

FIG. 1A illustrates one example configuration of a wirelesscommunication network;

FIG. 1B illustrates one example configuration of another wirelesscommunication network including multiple secondary wirelesscommunication networks;

FIG. 2 is a flow chart illustrating an example process for allocatingresources among multiple slave nodes in a wireless communicationnetwork;

FIG. 3 is a flow chart illustrating an example process of iterativelyupdating two threshold values to ensure the appropriate resourceallocation;

FIG. 4 is a block diagram illustrating an example computer programproduct of a software module for allocating resources among nodes in awireless communication network; and

FIG. 5 is a block diagram illustrating an example computing device thatis arranged for allocating resources among nodes in a wirelesscommunication network all arranged in accordance with at least someembodiments of the present disclosure.

DETAILED DESCRIPTION

In the following detailed description, reference is made to theaccompanying drawings, which form a part hereof. In the drawings,similar symbols typically identify similar components, unless contextdictates otherwise. The illustrative embodiments described in thedetailed description, drawings, and claims are not meant to be limiting.Other embodiments may be utilized, and other changes may be made,without departing from the spirit or scope of the subject matterpresented here. It will be readily understood that the aspects of thepresent disclosure, as generally described herein, and illustrated inthe Figures, can be arranged, substituted, combined, and designed in awide variety of different configurations, all of which are explicitlycontemplated and make part of this disclosure.

This disclosure is drawn, inter alia, to methods, apparatus, computerprograms, and networks related to resource allocation in a wirelessnetwork.

In this disclosure, a “master node” refers to a node configured tocontrol the traffic in a network. A “slave node” refers to a nodeconfigured to receive an inquiry from a master node. The term “poll” or“polling” broadly refers to a master node sending an inquiry to a slavenode for certain network information before the slave node is able totransmit data. The term “LAST” corresponds to the most recent.

In this disclosure, a wireless communication network including at leastone master node and at least one slave node may be implemented by ashort range wireless technology, such as Bluetooth. In the wirelesscommunication network, the at least one master node and the at least oneslave node share a physical radio channel. The physical radio channel isdivided into time units, which are also referred to as time slots. Amaster node is configured to discover a slave node within a range. Insome implementations, the master node can be, without limitation, amobile device, a cell phone, a smart phone, a laptop computer, apersonal digital assistant (PDA), a mobile internet device (MID), and aportable media player. After discovering a slave node within the range,the master node pages the discovered slave node, and then the masternode establishes a connection with the slave node. With the establishedconnection, the master node can poll the slave node to collect networkinformation associated with the slave node. The network information mayinclude, without limitation, the IP address of the slave node, timestamp information associated with the slave node, and the queue lengthof data at the slave node. The data stored in the queue can be includedin a packet to be transmitted from the slave node to the master node.The master node allocates resources based on the obtained networkinformation of the slave node. For example, the master node isconfigured to assign time slots for the slave node to transmit orreceive one or more packets.

FIG. 1A illustrates one example configuration of a wirelesscommunication network 100, arranged in accordance with at least someembodiments of the present disclosure. The wireless communicationnetwork 100 includes a master node 101 and multiple slave nodes (e.g., afirst slave node 103, a second slave node 105, and a third slave node107). In some implementations, the master node 101 polls the first slavenode 103 to collect the network information associated with the firstslave node 103. The first slave node 103 responds to the poll, and themaster node 101 allocates resources for the first slave node 103 basedon the network information.

In the event that the master node 101 polls a first slave node having nodata to be transmitted or received, the master node 101 then polls asecond slave node after the first slave node responds to the first poll.When the second slave node has data to be transmitted, the datatransmission for the second slave node is delayed, because the masternode first polls the first slave node having no data thereon. In someimplementations of the present disclosure, the master node 101 isconfigured to poll a slave node based on certain parameters such as,without limitation, the estimated probability of data being at the slavenode and the number of time slots assigned to the slave node since lastpoll of the slave node. After polling the slave node, the master node101 is further configured to allocate resources for the polled slavenode.

FIG. 1B illustrates one example configuration of a wirelesscommunication network 110 including multiple secondary wirelesscommunication networks, arranged in accordance with at least someembodiments of the present disclosure. The wireless communicationnetwork 110 includes a first secondary wireless communication network120, a second secondary wireless communication network 130, and a thirdsecondary wireless communication network 140. A secondary wirelesscommunication network includes one master node and multiple slave nodes.The wireless communication network 110 can be formed when a node of afirst secondary wireless communication network elects to participate ina second and separate secondary wireless communication network. A nodeserving to bridge between two secondary wireless communication networksis referred to as a bridge node. For example, the first bridge node 151serves to bridge between the first secondary wireless communicationnetwork 120 and the second secondary wireless communication network 130.The second bridge node 171 serves to bridge between the second secondarywireless communication network 130 and the third secondary wirelesscommunication network 140,

In another embodiment, the first bridge node 151 is configured to selectone secondary wireless communication network from multiple secondarywireless communication networks (e.g., the first secondary wirelesscommunication system 120 and the second secondary wireless communicationsystem 130) that the bridge node is a part of. The selection can bebased on certain parameters such as, without limitation, a firstestimated probability of data being available to be transmitted by thefirst secondary wireless communication network 120, a second estimatedprobability of data being available to be transmitted by the secondsecondary wireless communication network 130, a first number of timeslots assigned to the slave nodes in the first secondary wirelesscommunication network 120 since the last poll, and a second number oftime slots assigned to the slave nodes in the second secondary wirelesscommunication network 130 since the last poll. The probabilityassociated with having available data on a secondary wirelesscommunication network may be estimated based on the network activity ofa node in this secondary wireless communication network. For example,the first bridge node 151 is configured to record the amount of datahaving traveled through the first bridge node 151 in the first secondarywireless communication network 120 and in the second secondary wirelesscommunication network 130 within a period of time. If the amount of datahaving moved through the first bridge node 151 in the first secondarywireless communication network 120 exceeds the amount of data havingmoved through the first bridge node 151 in the second secondary wirelesscommunication network 130, then the first secondary wirelesscommunication network 120 is considered to have higher probability tosupport high network activity than the second wireless communicationnetwork 130 and is thus selected.

After the first bridge node 151 selects the first secondary wirelesscommunication network 120, which is likely to have more data to betransmitted, the master node of the first secondary wirelesscommunication network 120 is configured to poll a slave node of thefirst secondary wireless communication network 120. Here, the slave nodeto be polled is more likely to have available data to transmit thanother slave nodes in the first secondary wireless communication network120. After polling such a slave node, the master node of the firstsecondary wireless communication network 120 is further configured toallocate resources for the polled slave node.

FIG. 2 is a flow chart illustrating an example process for allocatingresources among multiple slave nodes in a wireless communicationnetwork, arranged in accordance with at least some embodiments of thepresent disclosure. In operation 201, a master node selects a slave nodebased on an estimated parameter and recorded network information. Theestimated parameter can be the probability of data being available at aparticular slave node or the probability of data being available to betransmitted by a secondary wireless communication network in thewireless communication network. The recorded network information mayinclude, without limitation, the number of time slots assigned to aslave node since the last poll of the slave node and the amount of datahaving traveled through a bridge node.

In some implementations, operation 201 further includes polling theselected slave node in the wireless communication network. Specifically,the master node may be configured to poll the selected slave node basedon factors that are associated with a linear combination of a firstprobability of data being available at the selected slave node and alsothe number of time slots assigned to the selected slave node since thelast poll of the slave node.

In other implementations, operation 201 further includes selecting asecondary wireless communication network among multiple secondarywireless communication networks in the wireless communication networkand polling a slave node among multiple slave nodes in the selectedsecondary wireless communication network. The master node may beconfigured to select a secondary wireless communication network based onfactors that are associated with a linear combination of a secondprobability of data being available to be transmitted by the secondarywireless communication network and also the number of time slotsassigned to the slave nodes in the secondary wireless communicationnetwork since the last poll. After the secondary wireless communicationnetwork is selected, the master node of the selected secondary wirelesscommunication network may be configured to poll a selected slave node inthe selected secondary wireless communication network in a manner as setforth above.

In an example operation 203, the master node is configured to allocatetime slots to the polled slave node to transmit data. The number of timeslots allocated may depend on the size of the measured queue length atthe polled slave node. In some implementations, the allocation can bedetermined based on the following relationships:

$I_{n} = \left\{ \begin{matrix}1 & {{{if}\mspace{14mu} q_{n}} < N_{1}} \\3 & {{{if}\mspace{14mu} N_{1}} \leq q_{n} < N_{2}} \\5 & {{{{if}\mspace{14mu} q_{n}} \geq N_{2}},}\end{matrix} \right.$

where I_(n) is the number of time slots assigned by the master node tothe polled slave node; q_(n) is the queue length measured at the polledslave node; and the N₁ and N₂ are two variable threshold values that themeasured queue length is compared against. In this example, the 1, 3,and 5 time slots are network protocol dependent and are applicable to aBluetooth wireless communication network.

FIG. 3 is a flow chart 300 illustrating an example process foriteratively updating the values of N₁ and N₂ to ensure the appropriateresource allocation, arranged in accordance with at least someembodiments of the present disclosure. The illustrated process includesmultiple paths to update the values of N₁ and N₂ To select among thedifferent paths, a predetermined rule and a predetermined n value areconsidered. After having selected a path, the values of N₁ and N₂ areupdated, and the queue length q_(n) on the polled slave node ismeasured.

In operation 301, the parameters to be considered in the illustratedprocess are defined. Some examples of the parameters include, withoutlimitation, a cost function h(.), a first step-size function a(n), asecond step-size function b(n), a first random variable Δ₁(n), and asecond random variable Δ₂(n). In some implementations, a(n)=1/n and b(n)equals to 1/n^(a), where a is in a range between 0.5 and 1 (e.g., 0.8).Initial values of some parameters, such as, without limitation, δ, a(0),b(0), Δ₁(0), Δ₂(0), Z₁(0), and Z₂(0), are also defined in this exampleoperation 301. δ is generally referred to as a gain parameter. Z₁generally refers to an estimate of the average cost for a first set ofN_(i), and Z₂ generally refers to an estimate of the average cost for asecond set of N_(i).

In another example operation 303, the value of n is utilized in a firstpredetermined rule. One example of the first predetermined rule is tosee whether n is an even number or an odd number. When n is even, anoperation 305 is selected. On the other hand, when n is odd, anoperation 307 is selected.

The operation 305 includes updating the value of Z₁ based on the LASTvalue of Z₁, the second step-size function b(n), and a cost function ofthe measured queue length q_(n). In some implementations, the updatingcan be based on the equation (1) described below:

Z ₁=LAST Z ₁+LAST b(n)((h(q _(n))−LAST Z _(i))   (1)

After the operation 305 is repeated for a predetermined number of times,the value of Z₁ is updated, and the value of Z₂ is set to equal to theLAST value of Z₂.

Similarly, the operation 307 includes updating the value of Z₂ based onthe LAST value of Z₂, the second step-size function b(n), and a costfunction of the measured queue length q_(n). In some implementations,the updating can be based on the equation (2) described below:

Z ₂=LAST Z ₂+LAST b(n)((h(q _(n))−LAST Z ₂)   (2)

After the operation 307 is repeated also for the same predeterminednumber of times, the value of Z₂ is updated, and the value of Z₁ is setto equal to the LAST value of Z₁.

The value of the LAST Z₁ and the value of the LAST Z₂ are then used inoperation 309 to update the values of N₁ and N₂. In someimplementations, the equation that governs the calculation of parametersin operation 309 is shown below:

$\begin{matrix}{{N_{i} = {{{\mathrm{\Upsilon}\left( {{{LAST}\mspace{14mu} N_{i}} - {{LAST}\mspace{14mu} {a(n)}\frac{{LastZ}_{1} - {LastZ}_{2}}{\delta \; {Last}\; \Delta_{i}}}} \right)}\mspace{14mu} i} = 1}},2} & (3)\end{matrix}$

where T is a projection operator to keep the values of N_(i) to bewithin a range between 0 to the buffer size of each queue. In addition,in operation 309, the first random variable Δ₁(n) and the second randomvariable Δ₂(n) are randomly generated to update the LAST Δ₁(n) andΔ₂(n).

In operation 311, the value of n is compared with a predetermined value.When n does not equal to the predetermined value, the value of n isutilized in a second predetermined rule to update the values of N₁ andN₂ in operation 313. Here, the second predetermined rule is also fordetermining whether n is an even number or an odd number. When n iseven, the values of N₁ and N₂ are updated based on a first set ofcriteria in operation 315 as shown in the equation (4) below:

N _(i)=LAST N _(i)+δLAST Δ₁(n) i=1, 2   (4)

On the other hand, when n is odd, the values of N₁ and N₂ are updatedbased on a second set of criteria in operation 317 as shown in theequation (5) below:

N_(i)=LAST N_(i)=1, 2   (5)

In operation 318, n is updated before the illustrated process goes backto the operation 303. In some implementations, n is incremented by one.The operations set forth above continue until the value of n equals tothe predetermined value, the illustrated process proceeds to operation319 to terminate.

With the values of the updated N_(i), the master node can allocate one,three, or five time slots to the polled slave node according torelationships such as the ones shown and discussed above. In someimplementations, the master node is configured to poll another slavenode in the wireless communication network or another secondary wirelesscommunication network in the wireless communication network.

FIG. 4 is a block diagram illustrating an example computer programproduct of a software module for allocating resources among nodes in awireless communication network, arranged in accordance with at leastsome embodiments of the present disclosure. Computer program product 400includes one or more sets of instructions 402 for executing the methodsof the software module. Computer program product 400 may be transmittedin a signal bearing medium 404 or another similar communication medium406. Computer program product 400 may be recorded in a computer readablemedium 408 or another similar recordable medium 410.

FIG. 5 is a block diagram illustrating an example computing device thatis arranged for allocating resources among nodes in a wirelesscommunication network in accordance with at least some embodiments ofthe present disclosure. In a very basic configuration 501, computingdevice 500 typically includes one or more processors 510 and systemmemory 520. A memory bus 530 may be used for communicating between theprocessor 510 and the system memory 520.

Depending on the desired configuration, processor 510 may be of any typeincluding but not limited to a microprocessor (μP), a microcontroller(μC), a digital signal processor (DSP), or any combination thereof.Processor 510 may include one more levels of caching, such as a levelone cache 511 and a level two cache 512, a processor core 513, andregisters 514. An example processor core 513 may include an arithmeticlogic unit (ALU), a floating point unit (FPU), a digital signalprocessing core (DSP Core), or any combination thereof. An examplememory controller 515 may also be used with the processor 510, or insome implementations the memory controller 515 may be an internal partof the processor 510.

Depending on the desired configuration, the system memory 520 may be ofany type including but not limited to volatile memory (such as RAM),non-volatile memory (such as ROM, flash memory, etc.) or any combinationthereof. System memory 520 may include an operating system 521, one ormore applications 522, and program data 524. Application 522 may includea selection module 523 and a resource allocation module 524 and operatewith program data 525 on an operating system 521. The selection module523 may be arranged to select a node based on certain program data 525,such as, an estimated parameter and/or recorded network information, andthe resource allocation module 524 may be arranged to allocate resourcesto a node to transmit data.

Computing device 500 may have additional features or functionality, andadditional interfaces to facilitate communications between the basicconfiguration 501 and any required devices and interfaces. For example,a bus/interface controller 540 may be used to facilitate communicationsbetween the basic configuration 501 and one or more data storage devices550 via a storage interface bus 541. The data storage devices 550 may beremovable storage devices 551, non-removable storage devices 552, or acombination thereof. Examples of removable storage and non-removablestorage devices include magnetic disk devices such as flexible diskdrives and hard-disk drives (HDD), optical disk drives such as compactdisk (CD) drives or digital versatile disk (DVD) drives, solid statedrives (SSD), and tape drives to name a few. Example computer storagemedia may include volatile and nonvolatile, removable and non-removablemedia implemented in any method or technology for storage ofinformation, such as computer readable instructions, data structures,program modules, or other data.

System memory 520, removable storage 551 and non-removable storage 552are all examples of computer storage media. Computer storage mediaincludes, but is not limited to, RAM, ROM, EEPROM, flash memory or othermemory technology, CD-ROM, digital versatile disks (DVD) or otheroptical storage, magnetic cassettes, magnetic tape, magnetic diskstorage or other magnetic storage devices, or any other medium which maybe used to store the desired information and which may be accessed bycomputing device 500. Any such computer storage media may be part ofcomputing device 500.

Computing device 500 may also include an interface bus 542 forfacilitating communication from various interface devices (e.g.,peripheral interfaces and communication devices) to the basicconfiguration 501 via the bus/interface controller 540. Exampleperipheral interfaces 570 may be configured to communicate with externaldevices such as input devices. An example communication device 580includes a network controller 581, which may be arranged to facilitatecommunications with one or more other computing devices 590 over anetwork communication link via one or more communication ports 582.

The network communication link may be one example of a communicationmedia. Communication media may typically be embodied by computerreadable instructions, data structures, program modules, or other datain a modulated data signal, such as a carrier wave or other transportmechanism, and may include any information delivery media. A “modulateddata signal” may be a signal that has one or more of its characteristicsset or changed in such a manner as to encode information in the signal.By way of example, and not limitation, communication media may includewired media such as a wired network or direct-wired connection, andwireless media such as acoustic, radio frequency (RF), microwave,infrared (IR) and other wireless media. The term computer readable mediaas used herein may include both storage media and communication media.

Computing device 500 may be implemented as a master node, a slave node,or a bridge node as described throughout the present disclosure.

There is little distinction left between hardware and softwareimplementations of aspects of networks; the use of hardware or softwareis generally (but not always, in that in certain contexts the choicebetween hardware and software can become significant) a design choicerepresenting cost vs. efficiency tradeoffs. There are various vehiclesby which processes and/or networks and/or other technologies describedherein can be effected (e.g., hardware, software, and/or firmware), andthat the preferred vehicle will vary with the context in which theprocesses and/or networks and/or other technologies are deployed. Forexample, if an implementer determines that speed and accuracy areparamount, the implementer may opt for a mainly hardware and/or firmwarevehicle; if flexibility is paramount, the implementer may opt for amainly software implementation; or, yet again alternatively, theimplementer may opt for some combination of hardware, software, and/orfirmware.

The foregoing detailed description has set forth various embodiments ofthe devices and/or processes via the use of block diagrams, flowcharts,and/or examples. Insofar as such block diagrams, flowcharts, and/orexamples contain one or more functions and/or operations, it will beunderstood by those within the art that each function and/or operationwithin such block diagrams, flowcharts, or examples can be implemented,individually and/or collectively, by a wide range of hardware, software,firmware, or virtually any combination thereof. In one embodiment,several portions of the subject matter described herein may beimplemented via Application Specific Integrated Circuits (ASICs), FieldProgrammable Gate Arrays (FPGAs), digital signal processors (DSPs), orother integrated formats. However, those skilled in the art willrecognize that some aspects of the embodiments disclosed herein, inwhole or in part, can be equivalently implemented in integratedcircuits, as one or more computer programs running on one or morecomputers (e.g., as one or more programs running on one or more computernetworks), as one or more programs running on one or more processors(e.g., as one or more programs running on one or more microprocessors),as firmware, or as virtually any combination thereof, and that designingthe circuitry and/or writing the code for the software and or firmwarewould be well within the skill of one of skill in the art in light ofthis disclosure. In addition, those skilled in the art will appreciatethat the mechanisms of the subject matter described herein are capableof being distributed as a program product in a variety of forms, andthat an illustrative embodiment of the subject matter described hereinapplies regardless of the particular type of signal bearing medium usedto actually carry out the distribution. Examples of a signal bearingmedium include, but are not limited to, the following: a recordable typemedium such as a floppy disk, a hard disk drive, a Compact Disc (CD), aDigital Video Disk (DVD), a digital tape, a computer memory, etc.; and atransmission type medium such as a digital and/or an analogcommunication medium (e.g., a fiber optic cable, a waveguide, a wiredcommunications link, a wireless communication link, etc.).

Those skilled in the art will recognize that it is common within the artto describe devices and/or processes in the fashion set forth herein,and thereafter use engineering practices to integrate such describeddevices and/or processes into data processing networks. That is, atleast a portion of the devices and/or processes described herein can beintegrated into a data processing network via a reasonable amount ofexperimentation. Those having skill in the art will recognize that atypical data processing network generally includes one or more of anetwork unit housing, a video display device, a memory such as volatileand non-volatile memory, processors such as microprocessors and digitalsignal processors, computational entities such as operating networks,drivers, graphical user interfaces, and applications programs, one ormore interaction devices, such as a touch pad or screen, and/or controlnetworks including feedback loops and control motors (e.g., feedback forsensing position and/or velocity; control motors for moving and/oradjusting components and/or quantities). A typical data processingnetwork may be implemented utilizing any suitable commercially availablecomponents, such as those typically found in datacomputing/communication and/or network computing/communication networks.

The herein described subject matter sometimes illustrates differentcomponents contained within, or connected with, different othercomponents. It is to be understood that such depicted architectures aremerely exemplary, and that in fact many other architectures can beimplemented which achieve the same functionality. In a conceptual sense,any arrangement of components to achieve the same functionality iseffectively “associated” such that the desired functionality isachieved. Hence, any two components herein combined to achieve aparticular functionality can be seen as “associated with” each othersuch that the desired functionality is achieved, irrespective ofarchitectures or intermedial components. Likewise, any two components soassociated can also be viewed as being “operably connected”, or“operably coupled”, to each other to achieve the desired functionality,and any two components capable of being so associated can also be viewedas being “operably couplable”, to each other to achieve the desiredfunctionality. Specific examples of operably couplable include but arenot limited to physically mateable and/or physically interactingcomponents and/or wirelessly interactable and/or wirelessly interactingcomponents and/or logically interacting and/or logically interactablecomponents.

With respect to the use of substantially any plural and/or singularterms herein, those having skill in the art can translate from theplural to the singular and/or from the singular to the plural as isappropriate to the context and/or application. The varioussingular/plural permutations may be expressly set forth herein for sakeof clarity.

It will be understood by those within the art that, in general, termsused herein, and especially in the appended claims (e.g., bodies of theappended claims) are generally intended as “open” terms (e.g., the term“including” should be interpreted as “including but not limited to,” theterm “having” should be interpreted as “having at least,” the term“includes” should be interpreted as “includes but is not limited to,”etc.). It will be further understood by those within the art that if aspecific number of an introduced claim recitation is intended, such anintent will be explicitly recited in the claim, and in the absence ofsuch recitation no such intent is present. For example, as an aid tounderstanding, the following appended claims may contain usage of theintroductory phrases “at least one” and “one or more” to introduce claimrecitations. However, the use of such phrases should not be construed toimply that the introduction of a claim recitation by the indefinitearticles “a” or “an” limits any particular claim containing suchintroduced claim recitation to disclosures containing only one suchrecitation, even when the same claim includes the introductory phrases“one or more” or “at least one” and indefinite articles such as “a” or“an” (e.g., “a” and/or “an” should typically be interpreted to mean “atleast one” or “one or more”); the same holds true for the use ofdefinite articles used to introduce claim recitations. In addition, evenif a specific number of an introduced claim recitation is explicitlyrecited, those skilled in the art will recognize that such recitationshould typically be interpreted to mean at least the recited number(e.g., the bare recitation of “two recitations,” without othermodifiers, typically means at least two recitations, or two or morerecitations). Furthermore, in those instances where a conventionanalogous to “at least one of A, B, and C, etc.” is used, in generalsuch a construction is intended in the sense one having skill in the artwould understand the convention (e.g., “a network having at least one ofA, B, and C” would include but not be limited to networks that have Aalone, B alone, C alone, A and B together, A and C together, B and Ctogether, and/or A, B, and C together, etc.). In those instances where aconvention analogous to “at least one of A, B, or C, etc.” is used, ingeneral such a construction is intended in the sense one having skill inthe art would understand the convention (e.g., “a network having atleast one of A, B, or C” would include but not be limited to networksthat have A alone, B alone, C alone, A and B together, A and C together,B and C together, and/or A, B, and C together, etc.). It will be furtherunderstood by those within the art that virtually any disjunctive wordand/or phrase presenting two or more alternative terms, whether in thedescription, claims, or drawings, should be understood to contemplatethe possibilities of including one of the terms, either of the terms, orboth terms. For example, the phrase “A or B” will be understood toinclude the possibilities of “A” or “B” or “A and B.”

While various aspects and embodiments have been disclosed herein, otheraspects and embodiments will be apparent to those skilled in the art.The various aspects and embodiments disclosed herein are for purposes ofillustration and are not intended to be limiting, with the true scopeand spirit being indicated by the following claims.

1. A method for allocating resources in a wireless communicationnetwork, comprising: selecting a node based on probability of havingavailable data at the node; sending an inquiry to the node; deriving afirst set of average cost estimates based on a first step-size function,network information measured at the node, and a predetermined value;calculating a second set of threshold values based on a second step-sizefunction and the first set of average cost estimates; updating thesecond set of threshold values to generate a third set of thresholdvalues based on the predetermined value; allocating resources for thenode based on the third set of threshold values; and updating thepredetermined value.
 2. The method of claim 1, wherein the short-rangewireless technology is Bluetooth.
 3. The method of claim 1, wherein thenetwork information includes a queue length at the node.
 4. The methodof claim 1, further comprising selecting a secondary communicationnetwork among multiple secondary communication networks in the wirelesscommunication network.
 5. The method of claim 1, wherein the firststep-size function is associated with the predetermined value.
 6. Themethod of claim 1, wherein the deriving a first set of average costestimates further comprising selecting one value from the first set ofaverage cost estimates to operate on according to whether thepredetermined value is an even or an odd number.
 7. The method of claim1, wherein the second step-size function is associated with a power ofthe predetermined value.
 8. The method of claim 1, wherein updating thesecond set of threshold values further comprising selecting one valuefrom the second set of threshold values to operate on based on whetherthe predetermined value is an even or an odd number.
 9. The method ofclaim 1, wherein the resources correspond to a number of time slots fortransmitting or receiving data.
 10. The method of claim 9, wherein thenumber of time slots depends on the short-range wireless technology. 11.A mobile device configured to allocate resources in a wirelesscommunication network implemented by a short-range wireless technology,comprising: a processor, wherein the processor is configured to select asecond mobile device based on probability of having available data atthe second mobile device; send an inquiry to the second mobile device;derive a first set of average cost estimates based on a first step-sizefunction, network information measured at the second mobile device, anda predetermined value; calculate a second set of threshold values basedon a second step-size function and the first set of average costestimates; update the second set of threshold values to generate a thirdset of threshold values based on the predetermined value; allocateresources for the second mobile device based on the third set ofthreshold values; and update the predetermined value.
 12. The mobiledevice of claim 11, wherein the processor is further configured toselect a secondary communication network among multiple secondarycommunication networks in the wireless communication network.
 13. Themobile device of claim 12, wherein the mobile device is a master node ofthe secondary communication network.
 14. The mobile device of claim 13,wherein the second mobile device is a slave node of the secondarycommunication network.
 15. The mobile device of claim 11, wherein theprocessor is further configured to select one value from the first setof average cost estimates to operate on according to whether thepredetermined value is an even or an odd number.
 16. The mobile deviceof claim 11, wherein the processor is further configured to select onevalue from the second set of threshold values to operate on according towhether the predetermined value is an even or an odd number.
 17. Themobile device of claim 11, wherein the processor is further configuredto allocate a number of time slots for the second mobile device based ona comparison result between the network information measured at thesecond mobile device and the third set of threshold values.
 18. Acomputer readable medium containing a sequence of instructions forallocating resources in a wireless communication network, which whenexecuted by a mobile device, causes the mobile device to: select asecond mobile device based on probability of having available data atthe second mobile device; send an inquiry to the second mobile device;derive a first set of average cost estimates based on a first step-sizefunction, network information measured at the second mobile device, anda predetermined value; calculate a second set of threshold values basedon a second step-size function and the first set of average costestimates; update the second set of threshold values to generate a thirdset of threshold values based on the predetermined value; allocateresources for the second mobile device based on the third set ofthreshold values; and update the predetermined value.
 19. The computerreadable medium of claim 18, further containing a sequence ofinstructions, which when executed by the mobile device, causes themobile device to select a secondary communication network among multiplesecondary communication networks in the wireless communication network.20. The computer readable medium of claim 18, further containing asequence of instructions, which when executed by the mobile device,causes the mobile device to allocate a number of time slots for thesecond mobile device based on a comparison result between the networkinformation measured at the second mobile device and the third set ofthreshold values.